package com.buric.auth.service.data.in;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author: zhou.wei
 * @description 登录请求信息
 * @date: 2024/5/10 16:42
 */
@Data
public class LoginInData implements Serializable {


    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String captcha;

    @ApiModelProperty("验证码ID")
    @NotBlank(message = "验证码ID不能为空")
    private String captchaId;
}
